export interface ApiItem {
    url : string,
    type : string,
    header : string,
    noCover : boolean,
    jsonp : boolean,
    async : boolean
}

const apiRoot = '/v1';

export const getGalleryList:ApiItem = {
    "url": apiRoot + "/mall/galleryList",
    "type": "GET",
    "header": "form",
    "noCover": false,
    "jsonp": false,
    'async' : true
};

export const getProductList:ApiItem = {
    "url": apiRoot + "/mall/productList",
    "type": "GET",
    "header": "form",
    "noCover": false,
    "jsonp": false,
    'async' : true
};